import request from '@/utils/request'
export function getList(data) {
    return request({
        url: '/conf_site/getList',
        method: 'post',
        data: data
    })
}
export function getOptionListMd(data) {
    return request({
        url: '/conf_page/getOptionList',
        method: 'post',
        data: data
    })
}

export function addSite(data) {
    return request({
        url: '/conf_site/add',
        method: 'post',
        data: data
    })
}
export function updateSite(data) {
    return request({
        url: '/conf_site/update',
        method: 'post',
        data: data
    })
}
export function checkNameExists(data) {
    return request({
        url: '/conf_site/checkNameExists',
        method: 'post',
        data: data
    })
}
export function getProject(data) {
    return request({
        url: '/media/project/getOptionList',
        method: 'post',
        data: data
    })
}